<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>tab栏切换</title>
    <link href="./style/style.css"  rel="stylesheet">
    <link href="./font/iconfont.css" rel="stylesheet">
</head>
<body>
    <div class="tabBox" id="tab">
        <h1>Tab栏切换功能</h1>
        <div class="tabTop">
            <ul>
                <li class="bdt"><span>测试1</span><span class="iconfont icon-guanbi"></span></li>
                <li><span>测试2</span><span class="iconfont icon-guanbi"></span></li>
                <li><span>测试3</span><span class="iconfont icon-guanbi"></span></li>
            </ul>
            <div class="add">
                <span>+</span>
            </div>
        </div>
        <div class="tabConten">
            <section class="active">测试1</section>
            <section>测试2</section>
            <section>测试3</section>
        </div>
    </div>
    <script src="./js/tab.js"></script>
</body>
</html>